package com.hotelManager.www.config;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.hotelManager.www.util.LocalDateTimeAdapter;
import java.time.LocalDateTime;

public class GsonConfig {
    private static final Gson gson = new GsonBuilder()
        .registerTypeAdapter(LocalDateTime.class, new LocalDateTimeAdapter())
        .create();
        
    public static Gson getGson() {
        return gson;
    }
} 